From 124250cf9a2207c4dec1b0030d619015b35365ac Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 8 Apr 1993 16:51:04 +0000 Subject: [PATCH] (vc-comment-to-change-log): Merged in the remainder of jimb's last change. --- lisp/vc.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/vc.el b/lisp/vc.el index 015dfff1bad..d720d961a5d 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -532,8 +532,11 @@ popped up to accept a comment." ;;; Here is a checkin hook that may prove useful to sites using the ;;; ChangeLog facility supported by Emacs. -(defun vc-comment-to-change-log () - (let ((log (find-change-log))) +(defun vc-comment-to-change-log (&optional file) + "Update change log from comments entered into VC for the current file. +Optional FILE specifies the change log file name; see `find-change-log'. +See `vc-update-change-log'." + (let ((log (find-change-log file))) (if log (let ((default-directory (or (file-name-directory log) default-directory))) -- 2.30.2